
public class History {
	
	/*int level;
	Adrs start;
	Adrs end;
	String tag;
	*/
	private Item[] data = new Item[1000];
	private int flag = 0
	
	
	public void addHistory(int lv, Adrs sp, Adrs ep)
	{
		data[flag].addData(lv, sp, ep);
		flag++;
	}
	
	public void addHistory(int lv, Adrs sp, Adrs ep, String t)
	{
		data[flag].addData(lv, sp, ep, t);
		flag++;
	}
	
	public Ards getS(int index)
	{
		return data[index].getS();
	}
	
	public Ards getE(int index)
	{
		return data[index].getE();
	}
	
	public int getL(int index)
	{
		return data[index].getL();
	}
	
	public String getT(int index)
	{
		return data[index].getT();
	}
	
	public int getF()
	{
		return flag;
	}
	
}
